﻿namespace K9Nano.IM.Security
{
    /// <summary>
    /// 可签名的类型
    /// </summary>
    public interface ISignModel
    {
        /// <summary>
        /// 签名
        /// </summary>
        string Sign { get; set; }

        /// <summary>
        /// 时间戳, 秒
        /// </summary>
        long Timestamp { get; set; }

        /// <summary>
        /// 需要签名的字段组成的字符串
        /// </summary>
        string GetFormatString();
    }
}